package com.mybed.crm.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.mybed.crm.pojo.pojo.Activity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface ActivityMapper extends BaseMapper<Activity> {

    // 根据活动id查询活动
    @Select("select * from tb_activity where id = #{id}")
    Activity selectActivityById(Long activityId);
}
